<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/gantt/dhtmlxgantt.css" type="text/css">
</head>
<body style="overflow-y: auto;" style="height: 100%">
<div class="page-body" style="padding:0px;height: 100%">
    <div class="main-container container-fluid" style="height: 100%">
        <div class="page-container" style="height: 100%">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px;height: 100%">
                <div class="tabbable" style="height: 100%">
                    <div class="tab-content tabs-flat" style="height: 100%;padding:0px;">
                        <div class="col-md-12 col-sm-12 col-xs-12" style="margin-top: 10px;margin-bottom: 10px">
                            <div class="col-md-6 col-sm-6 col-xs-12">
                                <div style="font-size: 24px" id="taskName"></div>
                            </div>
                            <div class="col-md-6 col-sm-6 col-xs-12" align="right">
                                <div style="margin-right: 20px;display:inline-block;">
                                    <div style="font-size: 18px" id="taskDetails"></div>
                                </div>
                                <a href="#" onclick="window.location.reload();" class="btn btn-blue">刷新</a>
                                <!--
                                                                <a href="#" onclick="gantt.exportToPDF( {name:'我的任务.pdf', locale:'cn'}); class="btn btn-palegreen">PDF</a>"
                                -->
                                <a href="#" onclick="window.close();" class="btn btn-maroon">${i18n('system.close')}</a>
                            </div>
                        </div>
                        <div class="col-md-12 col-sm-12 col-xs-12" style="height: 100%;padding:0px;">
                            <div id="gantt_here" style="height:100%;width:100%"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript">
    var taskId = "${parameter.taskId}";
</script>
<script type="text/javascript" src="/module/gantt/dhtmlxgantt.min.js"></script>
<script type="text/javascript" src="/module/gantt/dhtmlxgantt_tooltip.js"></script>
<script type="text/javascript" src="/module/gantt/dhtmlxgantt_marker.min.js"></script>
<script type="text/javascript" src="/module/gantt/locale_cn.js" charset="utf-8"></script>
<script type="text/javascript" src="/module/gantt/api.js" charset="utf-8"></script>
<script type="text/javascript" src="/gobal/js/page/task/ganttdetails.js"></script>
</html>
